Feature: Create Post
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
4
|
|
||||
| Total duration: | |||||
| 1m 31.763s |
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.259s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.330s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.256s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.079s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.112s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.289s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.079s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.166s
And
I navigate to home page
0m 2.211s
Then
I should not see text "(Untitled2)"
0m 0.013s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "(Untitled2)"
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.218s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.134s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.243s
And
I enter "Test Post Kraken Draft (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.223s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.101s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.266s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.090s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.112s
And
I navigate to home page
0m 2.211s
Then
I should not see text "Test Post Kraken Draft (No Content)"
0m 0.012s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "Test Post Kraken Draft (No Content)"
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.240s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.146s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.255s
And
I enter "Test Post Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.157s
And
I enter "Hello World Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.323s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.097s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.090s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.177s
And
I navigate to home page
0m 2.200s
Then
I should not see text "Test Post Kraken Draft"
0m 0.012s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "Test Post Kraken Draft"
Scenario: As an administrator when I create a draft post it should not be visible from home page
Given
I log in as administrator
0m 5.240s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.144s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.265s
And
I enter "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.584s
And
I enter "Hello World Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.927s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.091s
And
I click on element having css selector "div.gh-contentfilter-type"
0m 2.090s
And
I click on element having css selector "ul > li[data-option-index="1"]"
0m 2.112s
And
I navigate to home page
0m 2.200s
Then
I should not see text "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
0m 0.012s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
And I navigate to home page
Then I should not see text "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"